package com.zk.cq.send.message.component;

import com.zk.cq.send.message.MessageComponent;
import lombok.AllArgsConstructor;

@AllArgsConstructor
public class ComponentMusic extends MessageComponent {
    public int musicId;

    public MusicSourceType type;

    @Override
    public String toString()
    {
        return "[CQ:music,type=" + type.toString() + ",id=" + musicId + "]";
    }
    @AllArgsConstructor
    public enum MusicSourceType {
        qq("qq"), netease("163");

        public String type;

        @Override
        public String toString()
        {
            return type;
        }
    }

}
